home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
science
/
sm32a.zip
/
LIBRARY
/
LAPLACE.LI
< prev
next >
Wrap
Text File
|
1993-11-09
|
336b
|
12 lines
# Laplace transform
laplace(sin(x_), x_) := 1/(1+x^2)
laplace(cos(x_), x_) := x/(1+x^2)
laplace(e^x_, x_) := 1/(x-1)
laplace(x2_, x_) := if(x2==x, 1/x^2)
laplace(1/sqrt(x_), x_) := sqrt(pi/x)
laplace(x_^2, x_) := 2/x^3
laplace(a_ + b_, x_) := laplace(a,x) + laplace(b,x)
laplace(a_ - b_, x_) := laplace(a,x) - laplace(b,x)